package com.app.dao.mysql;

import com.app.domain.UploadParameter;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface UploadParameterMapper {
    @Select("select * from uploadparameter where id=#{id}")
    UploadParameter findOne(String id);

    @Update("update uploadparameter set shebeibianhao=#{shebeibianhao},sgdw=#{sgdw},jldw=#{jldw},htbh=#{htbh},gcmc=#{gcmc},zhbw=#{zhbw},sgbw=#{sgbw},gjjg=#{gjjg},cjsjl=#{cjsjl},cpzjl=#{cpzjl},sw=#{sw},snyl=#{snyl},msl=#{msl},phb=#{phb},beiyong=#{beiyong},lblx=#{lblx},zlsj=#{zlsj},yajiangji=#{yajiangji},snmc=#{snmc},kongdaoshu=#{kongdaoshu},yajiangfangxiang=#{yajiangfangxiang},yajiangmoshi=#{yajiangmoshi},buzhoucishu=#{buzhoucishu},yajiangbuzhou=#{yajiangbuzhou},yajiangguocheng=#{yajiangguocheng},memo=#{memo},jinjiangshuliang=#{jinjiangshuliang},fanjiangliang=#{fanjiangliang},uuid=#{uuid},status=#{status},prefabricatelc=#{prefabricatelc},stationed=#{stationed},equipmentname=#{equipmentname},holeinternal=#{holeinternal},holelength=#{holelength},volume=#{volume},volumeL=#{volumeL},stirtime=#{stirtime},pumppressure=#{pumppressure},concretestrength=#{concretestrength} where id =#{id}")
    void update(UploadParameter uploadParameter);
}
